/**
 * 
 */
package com.aasa.siccosap.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author franklin.bustos
 *
 */
public class CtaCteDcEmpCodEmp1 implements Serializable{
	Double dblPb_cfOtraMoneda;			//NUMBER,
	Double dblPb_impPerSol;			//NUMBER,  
	Date objPb_tc1Fecha1;				//DATE,  
	String strPb_cfDocPer;			//VARCHAR2(200),  
	String strPb_cfTipoDocumento;		//VARCHAR2(200),  
	Date objPb_fecPag1;				//DATE,
    List<CtaCteDcEmpCodEmp2> aobjPb_lstCobranzas;	//CONSULTA_CTA_CTE_TIPOS_PKG.TT_TR_DC_EMP_COD_EMP2

    

	public CtaCteDcEmpCodEmp1() {
		}
    

	public CtaCteDcEmpCodEmp1(Double cfOtraMoneda, Double impPerSol,
			Date tc1Fecha1, String cfDocPer, String cfTipoDocumento,
			Date fecPag1, List<CtaCteDcEmpCodEmp2> lstCobranzas) {
		this.dblPb_cfOtraMoneda = cfOtraMoneda;
		this.dblPb_impPerSol = impPerSol;
		this.objPb_tc1Fecha1 = tc1Fecha1;
		this.strPb_cfDocPer = cfDocPer;
		this.strPb_cfTipoDocumento = cfTipoDocumento;
		this.objPb_fecPag1 = fecPag1;
		this.aobjPb_lstCobranzas = lstCobranzas;
	}

	public Double getDblPb_cfOtraMoneda() {
		return dblPb_cfOtraMoneda;
	}
	
	public void setDblPb_cfOtraMoneda(Double cfOtraMoneda) {
		this.dblPb_cfOtraMoneda = cfOtraMoneda;
	}

	public Double getDblPb_impPerSol() {
		return dblPb_impPerSol;
	}

	public void setDblPb_impPerSol(Double impPerSol) {
		this.dblPb_impPerSol = impPerSol;
	}

	public Date getObjPb_tc1Fecha1() {
		return objPb_tc1Fecha1;
	}

	public void setObjPb_tc1Fecha1(Date tc1Fecha1) {
		this.objPb_tc1Fecha1 = tc1Fecha1;
	}

	public String getStrPb_cfDocPer() {
		return strPb_cfDocPer;
	}

	public void setStrPb_cfDocPer(String cfDocPer) {
		this.strPb_cfDocPer = cfDocPer;
	}

	public String getStrPb_cfTipoDocumento() {
		return strPb_cfTipoDocumento;
	}

	public void setStrPb_cfTipoDocumento(String cfTipoDocumento) {
		this.strPb_cfTipoDocumento = cfTipoDocumento;
	}

	public Date getObjPb_fecPag1() {
		return objPb_fecPag1;
	}

	public void setObjPb_fecPag1(Date fecPag1) {
		this.objPb_fecPag1 = fecPag1;
	}

	public List<CtaCteDcEmpCodEmp2> getLstCobranzas() {
		return aobjPb_lstCobranzas;
	}

	public void setLstCobranzas(List<CtaCteDcEmpCodEmp2> lstCobranzas) {
		this.aobjPb_lstCobranzas = lstCobranzas;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((strPb_cfDocPer == null) ? 0 : strPb_cfDocPer.hashCode());
		result = prime * result
				+ ((dblPb_cfOtraMoneda == null) ? 0 : dblPb_cfOtraMoneda.hashCode());
		result = prime * result
				+ ((strPb_cfTipoDocumento == null) ? 0 : strPb_cfTipoDocumento.hashCode());
		result = prime * result + ((objPb_fecPag1 == null) ? 0 : objPb_fecPag1.hashCode());
		result = prime * result
				+ ((dblPb_impPerSol == null) ? 0 : dblPb_impPerSol.hashCode());
		result = prime * result
				+ ((objPb_tc1Fecha1 == null) ? 0 : objPb_tc1Fecha1.hashCode());
		return result;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (!(obj instanceof CtaCteDcEmpCodEmp1))
			return false;
		final CtaCteDcEmpCodEmp1 other = (CtaCteDcEmpCodEmp1) obj;
		if (strPb_cfDocPer == null) {
			if (other.strPb_cfDocPer != null)
				return false;
		} else if (!strPb_cfDocPer.equals(other.strPb_cfDocPer))
			return false;
		if (dblPb_cfOtraMoneda == null) {
			if (other.dblPb_cfOtraMoneda != null)
				return false;
		} else if (!dblPb_cfOtraMoneda.equals(other.dblPb_cfOtraMoneda))
			return false;
		if (strPb_cfTipoDocumento == null) {
			if (other.strPb_cfTipoDocumento != null)
				return false;
		} else if (!strPb_cfTipoDocumento.equals(other.strPb_cfTipoDocumento))
			return false;
		if (objPb_fecPag1 == null) {
			if (other.objPb_fecPag1 != null)
				return false;
		} else if (!objPb_fecPag1.equals(other.objPb_fecPag1))
			return false;
		if (dblPb_impPerSol == null) {
			if (other.dblPb_impPerSol != null)
				return false;
		} else if (!dblPb_impPerSol.equals(other.dblPb_impPerSol))
			return false;
		if (objPb_tc1Fecha1 == null) {
			if (other.objPb_tc1Fecha1 != null)
				return false;
		} else if (!objPb_tc1Fecha1.equals(other.objPb_tc1Fecha1))
			return false;
		return true;
	}

}
